package com.cherrypt.api.model.dataobject;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author intent
 * @date 2019/8/8 14:02
 * @about <link href='http://zzyitj.xyz/'/>
 */
@Getter
@Setter
@ToString
@TableName(value = "t_discount")
public class Discount implements Serializable {
    private static final long serialVersionUID = -1202253715387381191L;


    @TableId(type = IdType.AUTO)
    private Integer id;

    private Float upload;
    private Float download;
    private Float seed;
    private String description;
    private Long limitTime;

    @TableField(fill = FieldFill.INSERT)
    private Long created;
}
